package com.czk.utils;

import com.czk.pojo.UserInfoBatchDO;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/9/14 15:54
 */
public class AssemblyData {
    public static List<UserInfoBatchDO> assemblyData(int count) {
        List<UserInfoBatchDO> list = new ArrayList<>();
        UserInfoBatchDO userInfoDO;
        for (int i = 0; i < count; i++) {
            userInfoDO = new UserInfoBatchDO()
                    .setUserName("czk")
                    .setNickName("坤少")
                    .setMobile("17098705205")
                    .setPassWord("password")
                    .setGmtUpdate(LocalDateTime.now());
            list.add(userInfoDO);
        }
        return list;
    }

}
